package com.gonsin.gview.annotations.impl;

import com.gonsin.gview.annotations.GContext;
import com.gonsin.gview.annotations.interfaces.ITableDataPicker;
import com.gonsin.base.GPageRequest;
import com.gonsin.base.GPageResult;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * 不执行任何操作的实现
 */
public class EmptyTableDataPicker implements ITableDataPicker<Object, Object> {

    @Override
    public GPageResult getTableData(GContext context, String dataId, Object searchPo, GPageRequest pageRequest, HttpServletRequest request, Map<String, String> props) {
        return null;
    }
}
